package com.ideaaedi.zoo.example.springboot.bpmn.flowable.controller.demo4.entity.enums;

import com.ideaaedi.zoo.commonbase.enums.EnumDescriptor;
import lombok.Getter;

/**
 * 标识流程分类的枚举. 主要用于在查询所有流程、所有任务时，可以不全量查询，只查询指定类别的即可
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
@Getter
public enum FlowableProcessFlag implements EnumDescriptor {
    
    LEAVE("请假相关流程");
    
    public static final String PROCESS_VAR_KEY = "_PROCESS_CLASSIFY_FLAG_";
    
    private final String desc;
    
    FlowableProcessFlag(String flag) {
        this.desc = flag;
    }
    
    @Override
    public String obtainDescription() {
        return null;
    }
}
